﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Tuple<WebApp.Models.ViewOrganization, bool>>" %>
<%@ Import Namespace="GiveGraphModel" %>
<%@ Import Namespace="WebApp.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <%
        bool IsSelf = Model.Item2; %>
    
    <div id="profile">    
        <h2>Organization Profile</h2>
	      
	    <div id="profile-content">
            <div id="profile-form">
                <%if (IsSelf)
                    {%> 
                    Name:
                    <%:
                        Html.EditorFor(p => p.Item1.Name) %>
                <%
                    }
                    else
                    {%>
                    Name:
                    <%:
                        Html.DisplayFor(p => p.Item1.Name) %>
                    <%
                    }%>            
            </div>           
        </div>            
    </div>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MetaTagsContent" runat="server">
      
</asp:Content>
